<include file="public@head_top"/>
</head>
<body class="bgeee">
<include file="public@head"/>
<include file="public@sidebar_head"/>

<div class="tagW">
    <ul class="tagList">
        <php>
                    $where=[
                    'post.create_time'=>['egt',0]
                    ];
                    $page=[
                        'list_rows'=>10,
                        'next'=>$configlang['Next_page'],
                    'prev'=>$configlang['Previous_page']
                    ];
                </php>
                <portal:tagArticles item="vo" where="$where" page="$page"
                                 relation="categories"
                                 categoryIds="$configinfo.moduleid"
                                 moduleID="$configinfo.moduleid"
                                 tagId="$tag.id"
                                 returnVarName="articles_data">
        <li class="clearfloat">
            <div class="pic">
              <a class="img" href="{:cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$vo['category_id']))}" title="{$vo.post_title}">
                <empty name="vo.img_thumb">
                    <img src="__TMPL__/public/assets/images/default-thumbnail.png"
                         alt="{$vo.post_title}">
                    <else/>
                    <img src="{:cmf_get_image_url($vo.img_thumb)}"
                         alt="{$vo.post_title}">
                </empty>
              </a>
            </div>
            <div class="tagInner">
                <h2 class="single-line">
                    <a href="{:cmf_url('portal/Article/index',array('id'=>$vo['id'],'cid'=>$vo['category_id']))}" title="{$vo.post_title}">
                        {$vo.post_title}
                    </a>
                </h2>
                <h3>
                    <i class="fa fa-calendar"></i>
                    {:date('Y-m-d',$vo.published_time)}
                    
                    <i class="fa fa-eye"></i>
                    {$vo.post_hits}
                    
                    <div class="st-x-showxmobile"></div>
                    <if condition="$vo.recommended == 1">
                    <span class="st-icoBox st-icoItem1 st-posr st-top1">{$configlang['Boutique_top']}</span>
                    </if>
                    <if condition="$vo.is_top == 1">
                    <span class="st-icoBox st-icoItem st-posr st-top1">{$configlang['Recommend']}</span>
                    </if>
                </h3>
                <notempty name="vo.taglist">
                <div class="st-mt5 st-xm-fon12">
                    {$configlang['label']}:
                    <foreach name="vo.taglist" item="tag">
                     <a href="{:cmf_url('portal/Tag/index',array('id'=>$configinfo.moduleid,'tid'=>$tag.tag_id))}" title="{$tag.name}">{$tag.name}</a> | 
                    </foreach>
                 </div>
                 </notempty>
                <p class="multi-line">{$vo.post_excerpt}</p>
            </div>
        </li>
        </portal:tagArticles>
    </ul>
    
    <div class="show-pages">
        <div class="show-pagination">
            <page/>
        </div>
    </div>
</div>

<include file="public@sidebar_foot"/>
<include file="public@footer"/>
</body>    
</html>